package com.jd.finance.core.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 银行贷款申请表
 * </p>
 *
 * @author LiQingBo
 * @since 2022-05-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BLoan对象", description="银行贷款申请表")
public class BLoan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "贷款id")
      @TableId(value = "dk_id", type = IdType.AUTO)
    private Integer dkId;

    @ApiModelProperty(value = "贷款金额")
    private BigDecimal dkMoney;

    @ApiModelProperty(value = "利率")
    private BigDecimal dkRate;

    @ApiModelProperty(value = "本息")
    private BigDecimal dkTotal;

    @ApiModelProperty(value = "贷款状态0：已放款，1已还清")
    private Integer dkStatus;

    @ApiModelProperty(value = "贷款人姓名")
    private String dkuName;

    @ApiModelProperty(value = "贷款人身份证号")
    private String dkuNo;

    @ApiModelProperty(value = "贷款企业编号")
    private String dkcNo;

    @ApiModelProperty(value = "贷款种类名称")
    private String productName;

    @ApiModelProperty(value = "贷款银行名称")
    private String dkBank;

    @ApiModelProperty(value = "放款银行卡")
    private String bankCard;

    @ApiModelProperty(value = "贷款期数")
    private Integer dkMonth;

    @ApiModelProperty(value = "贷款截止日期")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
